package com.sayice.design.lab7_2;

import com.sayice.design.util.XmlParse;
import org.xml.sax.SAXException;

import java.io.IOException;

/**
 * @author shubing
 */
public class Main {
    public static void main(String[] args) throws IOException, SAXException {
        AbstractDataCategory dataCategory = (AbstractDataCategory) new XmlParse("categoryConfig.xml")
                .objectOfTag("category");
        dataCategory.classifyData();
    }
}
